use error::AppErr;


mod error;
mod config;
mod store;
mod server;
mod utils;

#[tokio::main]
async fn main() -> Result<(), AppErr> {
    config::init().await?;
    store::init().await?;
    server::run().await?;
    Ok(())
}


